<extend name="Common@common:layui" />
<block name="title">
    <title>自定义页管理</title>
</block>
<block name="style">
    <style>
        /*table tr th {*/
        /*    text-align: right;*/
        /*    font-size: 15px;*/
        /*}*/

        /*table tr td {*/
        /*    height: 40px;*/
        /*}*/

        /*.lab {*/
        /*    cursor: pointer;*/
        /*}*/

        .pd-20 {
            padding: 20px;
        }
    </style>
</block>

<block name="main">
    <div class="pd-20">
        <form class="layui-form close-dialog" action="/admin/page/edit_post" method="post">
            <input name="id" type="hidden" value="{$_GET['id']}">
            <div class="layui-form-item">
                <label class="layui-form-label">标题：</label>
                <div class="layui-input-block">
                    <input type="text" name="title" value="{$info.title}" required lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">类型：</label>
                <div class="layui-input-block">
                    <input type="text" name="type" value="{$info.type}" required lay-verify="required" placeholder="请输入类型" autocomplete="off" class="layui-input">
                </div>
            </div>
            <!--<div class="layui-form-item">-->
            <!--<label class="layui-form-label">状态：</label>-->
            <!--<div class="layui-input-block">-->
            <!--<php>if(!$info) $info['status'] = 1;</php>-->
            <!--<input class="lab" type="radio" name="status" title="启用" value="1" <eq name="info['status']" value="1">checked</eq>>-->
            <!--<input class="lab" type="radio" name="status" title="停用" value="0" <eq name="info['status']" value="0">checked</eq>>-->
            <!--</div>-->
            <!--</div>-->
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn" lay-submit lay-filter="*">立即提交</button>
                </div>
            </div>

        </form>
    </div>
</block>

<block name="script">
    <script>
    </script>
</block>